package com.shunli.cterminal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.examples.core.mybatis.base.BaseSafeEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 流量策略
 *
 * @author daodao
 * @since 2025-04-25 13:43:15
 */
@Data
@TableName("system_traffic_policy")
@Schema(name = "SystemTrafficPolicy", description = "流量策略")
@EqualsAndHashCode(callSuper = true)
public class SystemTrafficPolicy extends BaseSafeEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @Schema(description = "项目方 01 国学 05 长安")
    private String projectCode;

    @Schema(description = "启用状态")
    private String status;

    @Schema(description = "时间")
    private String timeJson;

    @Schema(description = "价格")
    private String priceJson;

    @Schema(description = "商品")
    private String goodsJson;

    @Schema(description = "媒体")
    private String platformJson;

    @Schema(description = "每日配额")
    private Long dailyQuota;

    @Schema(description = "权重系数")
    private Long weightCoefficient;

    @Schema(description = "备注")
    private String remark;
}
